import React from 'react';
import { connect } from 'react-redux';
import SetupItem from '../components/My/SetupItem';

class SettingContainer extends React.Component {
  render() {
    return (
      <SetupItem {...this.props} />
    );
  }
}

export default connect((state) => {
  const { dealerInfo, isSuccess, errMsg } = state.EditProfileReducer;
  return {
    dealerInfo,
    isSuccess,
    errMsg,
  };
})(SettingContainer);
